/**
 * Huisou.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */

package com.chenzehe.zdmya.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @description
 * 
 * @author chenzehe
 * @email hljuczh@163.com
 * @create 2012-7-26 下午10:19:46
 */
@Entity
@Table(name = "tbl_fx")
public class Fx {
	@Id
	@Column(name = "id")
	@GeneratedValue
	private Integer id;

	@Column(name = "user_id")
	private Integer userId;

	@Column(name = "user_name")
	private String userName;

	@Column(name = "title")
	private String title;

	@Column(name = "title2")
	private String title2;

	@Column(name = "content")
	private String content;

	@Column(name = "img")
	private String img;

	@Column(name = "real_url")
	private String realUrl;

	@Column(name = "go_url")
	private String goUrl;

	@Column(name = "category_parent_ename")
	private String categoryParentEname;

	@Column(name = "category_parent_name")
	private String categoryParentName;

	@Column(name = "mall_ename")
	private String mallEname;

	@Column(name = "mall_name")
	private String mallName;

	@Column(name = "issue_time")
	private Date issueTime;

	@Column(name = "modify_time")
	private Date modifyTime;

	@Column(name = "is_enabled")
	private Integer isEnabled;

	@Column(name = "comment_count")
	private Integer commentCount;

	@Column(name = "zhi_count")
	private Integer zhiCount;

	@Column(name = "collection_count")
	private Integer collectionCount;

	@Column(name = "status")
	private Integer status;

	public Fx() {

	}

	public Fx(String goUrl) {
		this.goUrl = goUrl;
	}

	public Fx(Integer id, Integer userId, String userName, String title,
			String title2, String content, String img, String realUrl,
			String goUrl, String categoryParentEname,
			String categoryParentName, String mallEname, String mallName,
			Date issueTime, Date modifyTime, Integer isEnabled,
			Integer commentCount, Integer zhiCount, Integer status) {
		this.id = id;
		this.userId = userId;
		this.userName = userName;
		this.title = title;
		this.title2 = title2;
		this.content = content;
		this.img = img;
		this.realUrl = realUrl;
		this.goUrl = goUrl;
		this.categoryParentEname = categoryParentEname;
		this.categoryParentName = categoryParentName;
		this.mallEname = mallEname;
		this.mallName = mallName;
		this.issueTime = issueTime;
		this.modifyTime = modifyTime;
		this.isEnabled = isEnabled;
		this.commentCount = commentCount;
		this.zhiCount = zhiCount;
		this.status = status;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle2() {
		return title2;
	}

	public void setTitle2(String title2) {
		this.title2 = title2;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getCategoryParentEname() {
		return categoryParentEname;
	}

	public void setCategoryParentEname(String categoryParentEname) {
		this.categoryParentEname = categoryParentEname;
	}

	public String getCategoryParentName() {
		return categoryParentName;
	}

	public void setCategoryParentName(String categoryParentName) {
		this.categoryParentName = categoryParentName;
	}

	public String getMallEname() {
		return mallEname;
	}

	public void setMallEname(String mallEname) {
		this.mallEname = mallEname;
	}

	public String getMallName() {
		return mallName;
	}

	public void setMallName(String mallName) {
		this.mallName = mallName;
	}

	public Date getIssueTime() {
		return issueTime;
	}

	public void setIssueTime(Date issueTime) {
		this.issueTime = issueTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getIsEnabled() {
		return this.isEnabled;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	public String getRealUrl() {
		return realUrl;
	}

	public void setRealUrl(String realUrl) {
		this.realUrl = realUrl;
	}

	public String getGoUrl() {
		return goUrl;
	}

	public void setGoUrl(String goUrl) {
		this.goUrl = goUrl;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getZhiCount() {
		return zhiCount;
	}

	public void setZhiCount(Integer zhiCount) {
		this.zhiCount = zhiCount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCollectionCount() {
		return collectionCount;
	}

	public void setCollectionCount(Integer collectionCount) {
		this.collectionCount = collectionCount;
	}

}
